<!DOCTYPE html>
<html>
    <head>
        <title>{{if get_config('seotitletype') eq '1' }}
            {{$title}} {{get_config('keywords')}}
            {{elseif get_config('seotitletype') eq '2'}}
            {{$title}} {{get_config('webname')}}
            {{elseif get_config('seotitletype') eq '3'}}
            {{$title}} {{get_config('keywords')}} {{get_config('webname')}}
            {{else}}
            {{$title}}
            {{/if}}</title>
        {{include template('spacecp_meta','member')}}
    </head>
    <body>
        {{include template('spacecp_top','member')}}
        <!--主要内容-->
        <div class="main">
            <div class="main_header">
                <h3>会员登录<small></small></h3>
            </div>
            <div class="main_left " >
                <div class="form">
                    <form action="" class="validform" method="post" role="form">
                        <input type="hidden" name="referer" value="{{$referer}}">
                        <ul>
                            <li><label>用户名/邮箱</label><input type="text" class="input" name="username" value=""datatype="*" placeholder="用户名或电子邮箱"  /></li>
                            <li><label>密码</label><input type="password" class="input"  name="password" value="" datatype="*6-16" nullmsg="请输入密码！" errormsg="密码范围在6~16位之间！" placeholder="请输入6~16位的密码" /></li>
                            <li><label>验证码</label><input type="text" class="input code"  name="code" datatype="*4-4" nullmsg="请填写验证码" errormsg="请填写4位验证码" placeholder="请输入验证码" />
                                <img src="{{url('api/index/code')}}" onclick="this.src = this.src + '?'" class="codeimg" title="看不清，换一张">
                            </li>
                            <li><input type="submit" class="submit" name="dosubmit" value="登 录"/>
                                <a href="/member/reset.html" >忘记密码？</a>
                            </li>
                        </ul>
                    </form>
                </div>
            </div>
            <div class="main_right">
                <p>没有帐号？<a href="/member/register.html">免费注册</a></p>
                <p>使用合作网站登录</p>
                <p><a href="{{url('member/other/qq_login')}}" target="_blank" class="qq_login">腾讯QQ登陆</a></p>
                <p><a href="{{url('member/other/weibo_login')}}" target="_blank" class="weibo_login">微博登陆</a></p>

            </div>
        </div>
        <br>
        <!--网站底部-->
        <div class="footer">
            <p>{{get_config('copyright')}}</p>
        </div>
        <script type="text/javascript">
            $(function () {
                $(".validform").Validform({tiptype: 3, showAllError: true});
            });
        </script>
    </body>
</html>